package cmd

import (
	"github.com/spf13/cobra"
	global2 "longmen/server/config/global"
	"longmen/server/internal/services/nami/config"
	"longmen/server/pkg/db/mysql/models/models_sports"
)

var initBBLineUp = &cobra.Command{
	Use:   "bb_lineup",
	Short: "bb_lineup",
	Long:  "bb_lineup",
	Run: func(cmd *cobra.Command, args []string) {
		global2.Sport().AutoMigrate(models_sports.BasketBallLineupCustom{})

	},
	PreRun: func(cmd *cobra.Command, args []string) {
		global2.Initialize(configFile)
		config.InitConfig()
	},
	PostRun: func(cmd *cobra.Command, args []string) {

	},
}
